﻿using System;
using System.Collections.Generic;
using System.Text;


namespace ConfigServices
{
    public class EnvVarConfigService : IConfigService
    {
        public string GetConfig(string key)
        {
            // 从环境变量中获取配置值
            return Environment.GetEnvironmentVariable(key);            
        }
    }
}
